package network;

import com.loopj.android.http.RequestParams;

/**
 * Created by zx on 2017/3/17.
 */

public class NetWorkApi {
    //登录
    public static void login(RequestParams params,ObjectHttpResponseHandler mObjectHttpResponseHandler){
        String url="authz/login";
        NetWork.get(url,params,mObjectHttpResponseHandler);
    }
    //获取监督检查列表的信息
    public static void getCheckListData(RequestParams params,ObjectHttpResponseHandler mObjectHttpResponseHandler){
        String url="vwljyyxrjdjhjcbjhrap/list";
       NetWork.get(url,params,mObjectHttpResponseHandler);
    }
    //根据日计划号ID获取该计划的详细数据
    public static void getCheckInfoData(RequestParams params,ObjectHttpResponseHandler mObjectHttpResponseHandler){
        String url="ljyyxrjdjhbcontroller/getBasicInfo";
        NetWork.get(url,params,mObjectHttpResponseHandler);
    }
    //根据登录单位ID获取相应单位所有的用户信息
    public static void getAllUserInfoByCompanyId(RequestParams params,ObjectHttpResponseHandler mObjectHttpResponseHandler){
        String url="vwljyyxzdbyhdwxx/list";
        NetWork.get(url,params,mObjectHttpResponseHandler);
    }
}
